<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../lib/jquery-1.11.1.min.js"></script>
    <script>

        $(function () {

            $("#btn").click(function () {
                $.ajax(
                    {
                        url:"../data/fisrt.json",
                        type: "get",
                        dataType:"json",
                        success:function (info) {

                            $(".info").text( $(".info").text()+info[0].name)
                            $(".info").text( $(".info").text()+info[1].age)
                            $(".info").text( $(".info").text()+info[2].sex)



                        }

                    })
            })




        })
    </script>
</head>
<body>
<button id="btn">按钮</button>
<div class="info"></div>
</body>
</html>